package com.shop.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.dto.AdminCost.*;
import com.shop.entity.dto.AdminStyle.AdminStyleCostDto;
import com.shop.entity.dto.AdminWares.*;
import com.shop.entity.pojo.Cost;
import com.shop.utils.common.result.Result;

import java.util.List;

public interface CostService extends IService<Cost> {

    Result saveOneCost(AdminCostSaveDto dto);

    Result<List<Cost>> getWaresCost(AdminWaresCostListDto dto);

    Result updateCost(AdminCostUpdateDto dto);

    Result removeCost(AdminCostRemoveDto dto);

    Result<Cost> updateGetCost(AdminCostUpdateForGetDto dto);

    Result getCostList(AdminCostListDto dto);

    Result openCost(AdminCostOpenDto dto);

    Result getStyleCostByPage(AdminStyleCostDto dto);

    Result pullCost(AdminCostPullDto dto);

    Result putCost(AdminCostPutDto dto);
}
